// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueLazyLoad from 'vue-lazyload'
import {currency} from "./utils/currency";
//低版本浏览器不支持需要导入
import BabelPolyfill from 'babel-polyfill'

//全局过滤器
Vue.filter("currency",currency);
Vue.config.productionTip = false;
Vue.use(BabelPolyfill)
Vue.use(VueLazyLoad,{
  loading:"/static/loading-svg/loading-balls.svg"
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});
